require("../../utils/api.js"), getApp(), require("../../utils/disapi.js");

Page({
    data: {
        showLoding: !1
    },
    onLoad: function(o) {
        var t = this, a = getCurrentPages(), e = (a[a.length - 1], a[a.length - 2].data.head_info);
        console.log(e);
        var s = e.m_last_location, i = "";
        console.log(s.split(","));
        for (var n in s.split(",")) i += s.split(",")[n];
        var l = e.m_phone.substr(0, 3) + "****" + e.m_phone.substr(7, 4);
        t.setData({
            info: e,
            showLoding: !0,
            location: i,
            phone: l
        }), console.log(t.data.info);
    },
    toshop: function() {
        wx.navigateTo({
            url: "/pages/template/index"
        });
    }
});